using QFramework.Framework.Extension;
using UnityEditor;
using UnityEngine;
#if UNITY_EDITOR
#endif

namespace QFramework.Example.Util._6.GameObject_API_简化
{
    /**
     * GameObject API 简化工具-示例
     */
    public class GameObjectSimplifyExample
    {
#if UNITY_EDITOR
        [MenuItem("QFramework/Example/Util/6.GameObject API 简化", false, 6)]
#endif
        private static void MenuClicked()
        {
            var gameObject = new GameObject();

            gameObject.Hide();
            gameObject.transform.Hide();
        }
    }
}